package com.dykj.entity;

import java.io.Serializable;

/**
 * custinfo
 * @author 
 */
public class Custinfo implements Serializable {
    private Integer fregionid;

    private Integer fsalemode;

    private String fcountry;

    private Integer ftypeid;

    private Integer fsaleid;

    private String fcustname;

    private Integer fcustid;

    private String fregionname;

    private String fsalemodename;

    private String fsalename;

    private String ftypename;

    private static final long serialVersionUID = 1L;

    public Integer getFregionid() {
        return fregionid;
    }

    public void setFregionid(Integer fregionid) {
        this.fregionid = fregionid;
    }

    public Integer getFsalemode() {
        return fsalemode;
    }

    public void setFsalemode(Integer fsalemode) {
        this.fsalemode = fsalemode;
    }

    public String getFcountry() {
        return fcountry;
    }

    public void setFcountry(String fcountry) {
        this.fcountry = fcountry;
    }

    public Integer getFtypeid() {
        return ftypeid;
    }

    public void setFtypeid(Integer ftypeid) {
        this.ftypeid = ftypeid;
    }

    public Integer getFsaleid() {
        return fsaleid;
    }

    public void setFsaleid(Integer fsaleid) {
        this.fsaleid = fsaleid;
    }

    public String getFcustname() {
        return fcustname;
    }

    public void setFcustname(String fcustname) {
        this.fcustname = fcustname;
    }

    public Integer getFcustid() {
        return fcustid;
    }

    public void setFcustid(Integer fcustid) {
        this.fcustid = fcustid;
    }

    public String getFregionname() {
        return fregionname;
    }

    public void setFregionname(String fregionname) {
        this.fregionname = fregionname;
    }

    public String getFsalemodename() {
        return fsalemodename;
    }

    public void setFsalemodename(String fsalemodename) {
        this.fsalemodename = fsalemodename;
    }

    public String getFsalename() {
        return fsalename;
    }

    public void setFsalename(String fsalename) {
        this.fsalename = fsalename;
    }

    public String getFtypename() {
        return ftypename;
    }

    public void setFtypename(String ftypename) {
        this.ftypename = ftypename;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Custinfo other = (Custinfo) that;
        return (this.getFregionid() == null ? other.getFregionid() == null : this.getFregionid().equals(other.getFregionid()))
                && (this.getFsalemode() == null ? other.getFsalemode() == null : this.getFsalemode().equals(other.getFsalemode()))
                && (this.getFcountry() == null ? other.getFcountry() == null : this.getFcountry().equals(other.getFcountry()))
                && (this.getFtypeid() == null ? other.getFtypeid() == null : this.getFtypeid().equals(other.getFtypeid()))
                && (this.getFsaleid() == null ? other.getFsaleid() == null : this.getFsaleid().equals(other.getFsaleid()))
                && (this.getFcustname() == null ? other.getFcustname() == null : this.getFcustname().equals(other.getFcustname()))
                && (this.getFcustid() == null ? other.getFcustid() == null : this.getFcustid().equals(other.getFcustid()))
                && (this.getFregionname() == null ? other.getFregionname() == null : this.getFregionname().equals(other.getFregionname()))
                && (this.getFsalemodename() == null ? other.getFsalemodename() == null : this.getFsalemodename().equals(other.getFsalemodename()))
                && (this.getFsalename() == null ? other.getFsalename() == null : this.getFsalename().equals(other.getFsalename()))
                && (this.getFtypename() == null ? other.getFtypename() == null : this.getFtypename().equals(other.getFtypename()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getFregionid() == null) ? 0 : getFregionid().hashCode());
        result = prime * result + ((getFsalemode() == null) ? 0 : getFsalemode().hashCode());
        result = prime * result + ((getFcountry() == null) ? 0 : getFcountry().hashCode());
        result = prime * result + ((getFtypeid() == null) ? 0 : getFtypeid().hashCode());
        result = prime * result + ((getFsaleid() == null) ? 0 : getFsaleid().hashCode());
        result = prime * result + ((getFcustname() == null) ? 0 : getFcustname().hashCode());
        result = prime * result + ((getFcustid() == null) ? 0 : getFcustid().hashCode());
        result = prime * result + ((getFregionname() == null) ? 0 : getFregionname().hashCode());
        result = prime * result + ((getFsalemodename() == null) ? 0 : getFsalemodename().hashCode());
        result = prime * result + ((getFsalename() == null) ? 0 : getFsalename().hashCode());
        result = prime * result + ((getFtypename() == null) ? 0 : getFtypename().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", fregionid=").append(fregionid);
        sb.append(", fsalemode=").append(fsalemode);
        sb.append(", fcountry=").append(fcountry);
        sb.append(", ftypeid=").append(ftypeid);
        sb.append(", fsaleid=").append(fsaleid);
        sb.append(", fcustname=").append(fcustname);
        sb.append(", fcustid=").append(fcustid);
        sb.append(", fregionname=").append(fregionname);
        sb.append(", fsalemodename=").append(fsalemodename);
        sb.append(", fsalename=").append(fsalename);
        sb.append(", ftypename=").append(ftypename);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}